package com.chenhs.oop.study.集合;

/**
 * @program: JAVA300
 * @description: 单链表
 * @author: peanut
 * @create: 2019-03-17 17:49
 */
public class Node2 {
    int hash;
    Object key;
    Object value;

    public int getHash() {
        return hash;
    }

    public void setHash(int hash) {
        this.hash = hash;
    }

    public void setKey(Object key) {
        this.key = key;
    }

    public void setValue(Object value) {
        this.value = value;
    }

    public void setNext(Node2 next) {
        this.next = next;
    }


    public Object getKey() {
        return key;
    }

    public Object getValue() {
        return value;
    }

    public Node2 getNext() {
        return next;
    }

    Node2 next;

}
